package com.xx.pojo;

public class Orders {
    private int ordersId;
    private User user;

    public void setOrdersId(int ordersId) {
        this.ordersId = ordersId;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getOrdersId() {
        return ordersId;
    }

    public User getUser() {
        return user;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "ordersId=" + ordersId +
                ", user=" + user.toString() +
                '}';
    }
}
